﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SendGSM.aspx.cs" Inherits="WebSite.admin.product.SendGSM" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style="font-size:12px;">
    <form id="form1" runat="server">
    <div>
    <table Width="98%">
    <tr>
    <td>手机号*：</td>
    <td><asp:TextBox ID="txtMobile" runat="server" Width="160px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"  Display="None"
            ControlToValidate="txtMobile" ErrorMessage="手机号不能为空！"></asp:RequiredFieldValidator>
        </td>
    </tr>
     <tr>
    <td>确认手机号*：</td>
    <td><asp:TextBox ID="txtConfirmMobile" runat="server" Width="160px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
         ControlToValidate="txtConfirmMobile" Display="None"
            ErrorMessage="确认手机号不能为空！"></asp:RequiredFieldValidator>
        <asp:CompareValidator ID="CompareValidator1" runat="server" 
            ErrorMessage="手机号码不一致！" Display="None" ControlToCompare="txtMobile" 
            ControlToValidate="txtConfirmMobile"></asp:CompareValidator>
         </td>
    </tr>
     <tr>
    <td>收信人：</td>
    <td><asp:TextBox ID="txtReciver" runat="server" Width="160px"></asp:TextBox></td>
    </tr>
     <tr>
    <td>发信人*：</td>
    <td><asp:TextBox ID="txtSender" runat="server" Width="160px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ErrorMessage="发信人不能为空！" Display="None" ControlToValidate="txtSender"></asp:RequiredFieldValidator>
         </td>
    </tr>

     <tr>
    <td>你们的关系：</td>
    <td><asp:TextBox ID="txtRelation" runat="server" Width="160px">朋友</asp:TextBox></td>
    </tr>

    <tr>
    <td colspan="2"  align="center"> 
        <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
        </td>
    </tr>
    <tr>
    <td colspan="2"  align="center" runat="server" id="tdResult"> 
        &nbsp;</td>
    </tr>
    <tr>
    <td colspan="2"  align="center"> 
    <asp:Button ID="btnSend" runat="server" Text="发送" onclick="btnSend_Click" />
    </td>
    </tr>
    <tr>

    <td colspan="2">
    <asp:GridView ID="gvInfo" runat="server" AutoGenerateColumns="False" Width="100%">
     <Columns>
       <asp:BoundField HeaderText="卡 号" DataField="cardcode" sortexpression="cardcode" />
        <asp:BoundField HeaderText="收信人" DataField="Receiver" sortexpression="Receiver" />
          <asp:BoundField HeaderText="手机" DataField="ReceiveMobile" sortexpression="ReceiveMobile" />
         <asp:BoundField HeaderText="发信人" DataField="AdminName" sortexpression="AdminName" />
          <asp:BoundField HeaderText="发送日期" DataField="SendDate" sortexpression="SendDate" />
     </Columns>

    </asp:GridView>
    
    </td>
    </tr>
    </table>
    </div>
    </form>
</body>
</html>
